﻿package com.eitb.programas.streaming.formatos{
	import flash.geom.*;
	import flash.display.*;
	import flash.text.*;
	import com.eitb.properties.*;
	
	public class Radio implements IVideoProperties {
		private static const STAGE:StageProperties = new StageProperties(360,140,StageAlign.TOP_LEFT,StageScaleMode.NO_SCALE);
		private static const VIDEO:VideoProperties = new VideoProperties(0,0,0,0,0,false);
		private static const BACKGROUND:BackgroundProperties = new BackgroundProperties(0x444444, new RoundRectProperties(10,10,340,120,10, 10));
		private static const MAXIMIZE_BUTTON:ButtonProperties = null;
		private static const VOLUME_SLIDER:VolumeSliderProperties = new VolumeSliderProperties(200,70,80, false, 0, 100, 80);
		private static const TIME_DISPLAY:TextDisplayProperties = new TextDisplayProperties (290,65,50,20, new TextFormat("Verdana", null, 0xFFFFFF, true, null, null, null, null, null, null, null, null, null));
		private static const BUFFERING_DISPLAY:TextDisplayProperties  = new TextDisplayProperties (20,65,160,20, new TextFormat("Verdana", null, 0xFFFFFF, true, null, null, null, null, null, null, null, null, null));
		private static const STATUS_DISPLAY:TextDisplayProperties  = new TextDisplayProperties (20,95,320,30, new TextFormat("Verdana", null, 0xFFFFFF, true, null, null, null, null, null, null, null, null, null), true, true);
		
		public function Radio():void {
		}

		public function getVideoProperties():VideoProperties {
			return VIDEO;
		}
		
		public function getStageProperties():StageProperties{
			return STAGE;
		}
		
		public function getBackgroundProperties():BackgroundProperties{
			return BACKGROUND;
		}
		
		public function getMaximizeButtonProperties():ButtonProperties{
			return MAXIMIZE_BUTTON;
		}

		public function getVolumeSliderProperties():VolumeSliderProperties{
			return VOLUME_SLIDER;
		}

		public function getTimeDisplayProperties():TextDisplayProperties{
			return TIME_DISPLAY;
		}

		public function getBufferingDisplayProperties():TextDisplayProperties{
			return BUFFERING_DISPLAY;
		}

		public function getStatusDisplayProperties():TextDisplayProperties{
			return STATUS_DISPLAY;
		}
	}
}